﻿<h4>Autofocus</h4>
<p>Commented out to prevent page actually jumping to this location. See example code below for implementation.</p>
@*<FluentTextArea Autofocus="true">autofocus</FluentTextArea>*@

<!-- Focus Async -->
<h4>Focus Async</h4>
<div style="display:flex">
    <FluentButton @onclick="() => focusTest!.FocusAsync()">FocusAsync</FluentButton>
    <FluentTextArea @ref=focusTest @bind-Value=value></FluentTextArea>
</div>

@code {
    FluentTextArea? focusTest;
    string? value;
}
